An electrochemical method for preparing vanillin or its derivatives

ABSTRACT

The present invention relates to an electrochemical method for preparing vanillin or its derivatives in the presence of a mediator. The mediator can be recycled and reused and therefore no salt is formed by the end of the reaction, which makes the method more environmental-friendly. Furthermore, lower potentials are needed when the mediator is used by comparing to prior arts.

TECHNICAL FIELD

The present invention relates to an electrochemical method for preparing vanillin or its derivatives.

BACKGROUND

Vanillin, of chemical name 4-hydroxy-3-methoxybenzaldehyde, is one of the most important aromatic flavor compounds used in foods, beverages, fragrances, pharmaceuticals and polymers. Vanillin was historically extracted from Vanilla planifolia, Vanilla tahitiensis and Vanilla pompona pods. The demand getting higher today, less than 5% of worldwide vanillin production comes from natural vanilla pods. Currently, chemical synthesis is the most important process for producing vanillin

Vanillin was first synthesized from eugenol, found in clove oil, in 1875. Less than 20 years after it was first identified and isolated. Vanillin was commercially produced from eugenol until the 1920s. Later it was synthesized from lignin-containing “brown liquor”, a byproduct of the sulfite process for making wood pulp. Counter-intuitively, even though it uses waste materials, the lignin process is no longer popular because of environmental concerns, and today most vanillin is produced from guaiacol. Several routes exist for synthesizing vanillin from guaiacol.

At present, the most significant of these is the two-step process, in which guaiacol reacts with glyoxylic acid by electrophilic aromatic substitution. The resulting vanillylmandelic acid is then converted via 4-hydroxy-3-methoxyphenylglyoxylic acid to vanillin by oxidative decarboxylation. For example, J. Am. Chem. Soc. 1998, 120, 3332-3339 illustrates an industrial process for the synthesis of vanillin performed in two steps involving an electrophilic aromatic substitution of glyoxylic acid on guaiacol followed by an oxidative decarboxylation. Disadvantageously, a lot of salt produced by using this process when the reaction of oxidative decarboxylation was performed with periodinate NaIO₄.

Shenyang Huagong Daxue Xuebao (2010), 24(4), 289-293 teaches a method for preparing vanillin by electrochemical oxidation from 3-methoxy-4-hydroxymandelic acid. However, such reaction must be carried out in the presence of a base compound, such as sodium hydroxide. Hydrochloric acid was used to remove the base compound after the reaction. Similarly, salt was still formed by using this method. Furthermore, the reaction used high temperature ranging from 55-60 . It is also well known for the skilled person that high potential is always needed for this reaction.

There is still a need to develop a more environmental-friendly process to prepare vanillin or its derivatives under milder reaction conditions, which can overcome the drawbacks in prior arts.

SUMMARY OF THE INVENTION

The present invention therefore pertains to an electrochemical method for converting a compound of formula (I) to a compound of formula (II) in the presence of a solvent and a compound generating a mediator in reduced form in the solvent,

wherein:

-   -   M^(P+) is a cation selected from group consisting of H⁺, NH₄ ⁺         and metal cation;     -   p is the valence of M;     -   R¹, R², R³ and R⁴, independently from each other, are selected         from the group consisting of: a hydrogen atom, an alkyl group,         an alkoxy group, a hydroxyl group, a halogen atom, a haloalkyl         group and a perhaloalkyl group;     -   R⁵ represents a hydrogen atom, an alkyl group, a cycloalkyl         group, an aryl group or an aralkyl group.

Advantageously, the mediator can be recycled and reused without forming any salts, which makes the method more environmental-friendly. Furthermore, lower potentials are needed when the mediator is used by comparing to prior arts.

DEFINITIONS

Throughout the description, including the claims, the term “comprising one” should be understood as being synonymous with the term “comprising at least one”, unless otherwise specified, and “between” should be understood as being inclusive of the limits.

As used herein, the terminology “(C_(n)-C_(m))” in reference to an organic group, wherein n and m are each integers, indicates that the group may contain from n carbon atoms to m carbon atoms per group.

As used herein, the terminology “oxidative decarboxylation” reactions are oxidation reactions in which a carboxylate or carboxylic acid group is removed, forming carbon dioxide.

As used herein, the term “anode” means the electrode from which electrons migrate to the outside circuit and is the electrode where oxidation occurs.

As used herein, the term “cathode” means the electrode to which electrons migrate from the outside circuit and is the electrode where reduction occurs.

The articles “a”, “an” and “the” are used to refer to one or to more than one (i.e., to at least one) of the grammatical object of the article.

The term “and/or” includes the meanings “and”, “or” and also all the other possible combinations of the elements connected to this term.

It is specified that, in the continuation of the description, unless otherwise indicated, the values at the limits are included in the ranges of values which are given.

Ratios, concentrations, amounts, and other numerical data may be presented herein in a range format. It is to be understood that such range format is used merely for convenience and brevity and should be interpreted flexibly to include not only the numerical values explicitly recited as the limits of the range, but also to include all the individual numerical values or sub-ranges encompassed within that range as if each numerical value and sub-range is explicitly recited.

DETAILS OF THE INVENTION

As used herein, “mediator” is a redox substance that mediates electron transfer. In the present invention, this substance acts as electron shuttles between the oxidizing electrode and the compound of formula (I). The mediator is not particularly limited as long as it can shoulder the responsibility for transferring the electron between the oxidizing electrode and the compound of formula (I).

Examples of the compound generating a mediator in reduced form in the solvent are:

-   -   Alkali metal bromides, such as lithium bromide (LiBr), sodium         bromide (NaBr) and potassium bromide (KBr);     -   Alkali metal chlorides, such as lithium chloride (LiCl), sodium         chloride (NaCl) and potassium chloride (KCl);     -   Alkali metal iodides, such as lithium iodide (LiI), sodium         iodide (NaI) and potassium iodide (KI);     -   Ammonium bromide (NH₄Br);     -   Iron salts, such as iron(II) sulphate (FeSO₄), iron(II) bromide         (FeBr₂), iron(II) chloride (FeCl₂), iron(II) iodide (FeI₂),         iron(II)nitrite (Fe(NO₃)₂), iron(II) acetate ((C₂H₃O₂)₂Fe),         potassium ferricyanide (II) K₄[Fe(CN)₆] and ferrocene;     -   Cerium salts, such as cerium(III) sulfate Ce₂(SO₄)₃;     -   Manganese salts, such as manganese(II) sulfate (MnSO₄);     -   Copper salts, such as copper(II) sulfate (CuSO₄), copper(II)         bromide (CuBr₂), copper(II) chloride (CuCl₂), copper(II) iodide         (CuI2), copper(II) nitrite (Cu(NO₃)₂) and copper(II) acetate         ((C₂H₃O₂)2Cu);     -   Cobalt salts, such as cobalt(II) sulfate (CoSO₄), cobalt(II)         bromide (CoBr₂), cobalt(II) chloride (CoCl2), cobalt(II) iodide         (CoI₂), cobalt(II) nitrite (Co((NO₃)₂) and cobalt(II) acetate         ((C₂H₃O₂)₂Co);     -   Chromium salts, such as chromium(III) sulfate (Cr2(SO₄)₃),         chromium (III) bromide (CrBr₃), chromium(III) chloride (CrCl₃),         chromium(III) iodide (CrI₃), chromium(III) nitrite (Cr(NO₃)₃)         and chromium(III) acetate((C₂H₃O₂)₃Cr).

In some embodiments, sodium bromide (NaBr) or ammonium bromide (NH₄Br) can be preferably used.

In some embodiments, environmental-friendly compound such as iron salts can be preferably used. Among all iron salts, iron(II) sulphate (FeSO₄) is more preferable.

In the method according to the present invention, a mediator in reduced form is obtained when the compound above mentioned is dissolved in a solvent. It shall be understood by the skilled person that the mediator in reduced form is oxidized at the anode so as to obtain a mediator in oxidized form when the current is passed to the reactor. The mediator in oxidized form then oxidizes the compound of formula (I) and simultaneously forms a mediator in reduced form, which can be same as or different from the mediator reduced form obtained when the compound is dissolved.

Examples of the mediator in reduced form are:

-   -   Halogen ions, such as Br⁻, Cl⁻ and I⁻;     -   Metal ions, such as Fe²⁺, Fe(CN)₆ ⁴⁻, Mn²⁺, MnO₄ ²⁻, Ce³⁺, Cr³⁺         and Co²⁺.

Examples of the mediator in oxidized form are:

-   -   Halogen ions, such as hypobromite (OBr⁻), hypochloride (OCl⁻)         and hypoiodite (OI⁻);     -   Metal ions, such as Fe³⁺, Fe(CN)₆ ³⁻, MnO₄ ²⁻, MnO₄ ²⁻, Ce⁴⁺,         HCrO₄ ⁻ and Co³⁺.

As defined above, MP+can be a metal cation. Preferably, p is 1 or 2. Examples of the metal cation are: K⁺, Li⁺, Na⁺ and Mg²⁺.

In some preferred embodiments, M^(P+) is H⁺.

As defined above, R¹, R², R³ and R⁴, independently from each other, are selected from the group consisting of: a hydrogen atom, an alkyl group, an alkoxy group, a hydroxyl group, a halogen atom, a haloalkyl group and a perhaloalkyl group.

In some embodiments, R¹, R², R³ and R⁴, independently from one another, may be a hydrogen atom or a C₁-C₆ alkyl group. More preferably, R¹, R², R³ and R⁴, independently from one another, are selected from the group consisting of: a hydrogen atom, methyl, ethyl, propyl and isopropyl.

In some embodiments, R¹ or R³ may be an alkoxy group, which is selected from the group consisting of methoxy, ethoxy, propoxy and butoxy. R² or R⁴ may be a hydrogen atom.

According to a specific aspect of the present invention, R⁵ is a hydrogen atom or an alkyl group.

The compound of formula (I) can be notably 4-hydroxy-3-methoxy mandelic acid or 4-hydroxy-3-ethoxy mandelic acid.

The compound of formula (II) can be notably 4-hydroxy-3 -methoxybenzaldehyde or 4-hydroxy-3-ethoxybenzaldehyde.

It is understood that the solvent shall have good solubility for both the compound of formula (I) and the compound generating the mediator in reduced form so that they can have sufficient contact in the solution. Such solvent can be alcohol, water or their combination. Preferably, the solvent is water.

pH value of the solution comprising the compound of formula (I), and the compound generating a mediator in reduced form depends on the mediator and is optionally adjusted by the skilled person. For example, pH value of the solution comprising compound of formula (I) and an iron salt shall be adjusted to below 4 and preferably below 3 to prevent the formation of iron(II)/(III) hydroxide. pH value of the solution comprising compound of formula (I) and an alkali metal bromide shall be adjusted to an acidic or slight basic solution to prevent the formation of the toxic Bra gas.

The method according to the present invention is carried out in such a preferred reactor comprising both an anode and a cathode.

The anode and/or the cathode preferably comprises a catalyst. The catalyst for the anode or the cathode may comprise metal element, which can be in the form of elemental metal, metal alloy, metal oxide or metal complex.

The anode catalyst may preferably comprise element selected from the group consisting of elements of Groups IIIA, IVA, VA of Periodic Table and Transition metals.

As used herein, metals of group IB, IIB, IIIB, IVB, VB, VIB, VIIB and VIIIB are often referred to as transition metals. This group comprises the elements with atomic number 21 to 30 (Sc to Zn), 39 to 48 (Y to Cd), 72 to 80 (Hf to Hg) and 104 to 112 (Rf to Cn).

Examples of the anode catalyst are notably:

-   -   (i) Elemental metal comprise element selected from the group         consisting of Pd, Pt, Ru, Au, Rh, Ir, Bi, Sn, B and any         combination thereof.     -   (ii) Metal alloy, such as Pd-Au, Pd-B and Pt-Ru.

Preferably, the anode catalyst is Pt.

The cathode catalyst may preferably comprise element selected from the group consisting of elements of Groups IA, IIA, IIIA, IVA, VA, VIA, VIIA of Periodic Table, Transition metals and Lanthanides.

Examples of the cathode catalyst are notably:

-   -   Elemental metal comprise element selected from the group         consisting of Pt, Ni, Cu, C and any combination thereof.

Preferably, the cathode catalyst is Ni or Cu and more preferably Cu.

The catalyst for the anode or the cathode mention above can be loaded on a support. The support is not particularly limited. Typical examples of support are carbon, alumina and silica.

In one embodiment, the anode or the cathode may comprise a catalyst mentioned above and a substrate.

Preferably, the anode and the cathode can be made with porous substrate structures.

The anode substrates can include, for example, stainless steel net, nickel foam, sintered nickel powder, etched aluminum-nickel mixtures, carbon fibers, and carbon cloth. Preferably, carbon materials and stainless steel are used as an anode substrate.

The cathode substrates can include stainless steel, nickel foam, sintered nickel powder, etched aluminum-nickel mixtures, metal screens, carbon fibers, and carbon cloth.

Methods for applying the anode catalyst to the anode substrate, and the cathode catalyst to the cathode substrate include, for example, spreading, wet spraying, powder deposition, electro- deposition, evaporative deposition, dry spraying, decaling, painting, sputtering, low pressure vapor deposition, electrochemical vapor deposition, tape casting, screen printing, hot pressing and other methods.

When substrates are used, preferred range of the catalyst loading may be comprised between 0.01 mg/cm⁻² and 500 mg/cm⁻². More preferably, the catalyst loading amount may be comprised between 1 mg/cm⁻² and 20 mg/cm⁻².

In a preferred embodiment, the electrochemical reactor used according to the invention has two independent compartments. The anode and the cathode reside in these two compartments separately. A membrane can be placed between the two compartments. Said membrane can be neutral or ion-exchange membrane. Preferably, the membrane is a nafion (a sulfonated tetrafluoroethylene based fluoropolymer-copolymer) cation exchange membrane.

Advantageously, the distance between the anode and the cathode is in the range of 1 mm to 10 cm and preferably 3 mm to 1 cm.

In one embodiment, the method according to the present invention comprises following steps:

-   -   (i) dissolving the compound generating a mediator in reduced         form in the solvent to obtain a solution;     -   (ii) adding the solution obtained at step(i) to an         electrochemical reactor;     -   (iii) passing current to the electrochemical reactor to oxidize         the mediator in reduced form to a mediator in oxidized form;     -   (iv) contacting the compound of formula (I) with the mediator in         oxidized form obtained at step (iii) to produce the compound of         formula (II).

Step(i)

The concentration of the compound generating a mediator in reduced form in the solution can be in the range of 0.05 M to 2 M and preferably 0.1 M to 0.5 M.

Step(iii)

Preferably, the reaction temperature can be from 0° C. to 100° C. and more preferably from 10° C. to 30° C. and most preferably room temperature.

According to the present invention, room temperature is between 15° C. and 25° C.

Preferably, the reaction can be run for 1 h to 144 h and more preferably 2 h to 50 h.

Preferably, the reaction can be run at a current density ranging from 0.1 mA/cm² to 100 mA/cm² and more preferably from 0.5 mA/cm² to 15 mA/cm².

Preferably, the reaction can be run at a potential ranging from 0.0001 V to 10 V and more preferably from 1.5 V to 4 V.

Step(iv)

The molar ratio of the compound of formula (I) in this step to the compound generating a mediator in reduced form in step (i) can be equal to or higher than 1 and preferably from 1 to 10 and more preferably from 1.5 to 5.0.

Preferably, the reaction temperature can be from 0° C. to 100° C. and more preferably from 10° C. to 30° C. and most preferably room temperature.

According to the present invention, room temperature is between 15° C. and 25° C.

The skilled person will use the proper reaction time based on the reaction parameters above mentioned.

In another embodiment, the method according to the present invention carried out in an electrochemical reactor comprising both an anode and a cathode has following steps:

-   -   a) dissolving the compound of formula (I) and the compound         generating a mediator in reduced form in the solvent to obtain         Solution A;     -   b) dissolving the compound generating a mediator in reduced form         in the solvent to obtain Solution B;     -   c) adding Solution A to the compartment having the anode and         Solution B to the compartment having the cathode;     -   d) passing current to the reactor to produce the compound of         formula (II).

Step a)

The molar ratio of the compound of formula (I) to the compound generating a mediator in reduced form can be equal to or higher than 1 and preferably from 1 to 10 and more preferably from 1.5 to 5.0.

The concentration of the compound generating a mediator in reduced form in Solution A can be in the range of 0.01 M to 1 M and preferably 0.05 M to 0.2 M.

The concentration of the compound of formula (I) in Solution A can be in the range of 0.1 M to 1 M and preferably 0.1 M to 0.3 M.

Step b)

The concentration of the compound generating a mediator in reduced form in Solution B can be in the range of 0.01 M to 1 M and preferably 0.05 M to 0.2 M.

As can be understood by one skilled in the art, the sequence of step a) and step b) may be reversed, or performed simultaneously.

Step d)

Preferably, the reaction temperature in this embodiment can be from 0° C. to 100° C. and more preferably from 10° C. to 30° C. and most preferably room temperature.

Preferably, the reaction in this embodiment can be run at a current density ranging from 0.1 mA/cm² to 100 mA/cm² and more preferably 1 mA/cm² to 15 mA/cm².

Preferably, the reaction can be run at a potential ranging from 0.0001 V to 10 V and more preferably 1.5 V to 4 V.

Preferably, the reaction can be run for 1 h to 144 h.

The following examples are included to illustrate embodiments of the invention. Needless to say, the invention is not limited to described examples.

EXPERIMENTAL PART

Materials

-   -   Sodium bromide: CAS No 7647-15-6 from Sigma-Aldrich     -   Iron(II) sulfate heptahydrate : CAS No 7782-63-0 from         Sigma-Aldrich     -   4-Hydroxy-3-methoxymandelic acid (vanillylmandelic acid) : CAS         No 55-10-7 from Sigma-Aldrich

Example 1

Ex-situ Synthesis of Mediator

In order to prove that vanillin is formed by the mediator and not by electrochemistry, therefore in a first step BrO— will be formed by electrochemical oxidation of Br- in an H-Cell setup by electrochemistry. In a second step this solution will be added to 4-hydroxy-3-methoxy mandelic acid. Stirred for 4h.

-   -   100 ml of 0.15 M NaBr aqueous solution is prepared including 1         ml of 1 M NaOH to achieve a slightly basic medium (total         concentration=0.01M, pH between 7 and 8).     -   As reactor an 80 ml H-cell is used. Both sides are filled with         50 ml of the above prepared solution. The membrane is a sulfone         based cation exchange membrane (Nafion, M=1100, thickness=0.07         in). In the anode chamber a circular Pt mesh is used as working         electrode. (Diameter=2 cm, height=0.1 cm, surface area=3.14         cm²). In the cathode chamber a copper plate (1 cm×1.5 cm,         thickness=2 mm) is used as counter electrode. Prior to use the         electrodes are cleaned. The Pt is cleaned with ethanol in         ultrasonic bath for 15 min, rinsed with ethyl acetate and air         dried. The Cu electrode is placed for 15 min in 2M HC1 solution         in ultrasonic bath, then rinsed with deionized water and placed         another 15 min in the ultrasonic bath in ethanol. The Cu plate         is rinsed with ethyl acetate and air dried.     -   The reaction is run for 20 h at a current density of 6.4 mA/cm².     -   In the second step, 0.86 mmol vanillylmandelic acid is weight         and placed in a 10 ml beaker with stirr bar. In total 6 x 1 ml         (equimolar) of the BrO— solution is dropped into the vessel         while stirring. After slow addition of 1 ml 5 minutes are waited         before the next addition. After 6 ml was added the reaction is         allowed to stir overnight. The reaction solution has a strong         vanillin smell. A precipitate is formed which is separated by         centrifuging. The liquid phase is extracted with ethyl acetate.         As well as the product of the organic phases as the solid         precipitate are analyzed by NMR using DMSO. The estimated         results show a total conversion of about 53%. The selectivity of         the solid phase shows approximately 30% vanillin, 70%         bisvanillin The liquid phase showed 13% vanillin, 17% vanillic         acid , 1% bisvanillin, 69% other.

Example 2

Electrochemical decarboxylation of 4-hydroxy-3-methoxy mandelic acid with sodium bromide.

A 20 ml H-cell with a nafion cation exchange membrane is used as reactor. After the membrane is placed between the cells, water is filled in both sides in order to check the sealing. The anode side is equipped with a Pt mesh as working electrode: diameter=1 cm, height=2 cm. Surface area=6.3 cm². The cathode side uses a 200 ppi Cu mesh as counter electrode. It is bent into cylindrical shape: length=4 cm, height=2 cm, surface area=8 cm². The system is not stirred and no reference electrode is used.

-   -   NaBr (0.1672 g, 0.1 M) and mandelic acid (0.7109 g, 0.3 M) is         dissolved in 12 ml water and transferred into the anode chamber.         The pH resulted in about 2. The cathode solution consists of         NaBr (0.1644 g, 0.1 M) in 12 ml water.     -   For 144 h current with a current density of 0.5 mA/cm² is         applied at the anode.     -   Work-up: the anode solution is 5 times extracted with 20 ml         dichloromethane, dried over NaSO₄ and decanted. CH₂Cl₂ is         removed in vacuum.     -   Following samples are taken for NMR: reaction solution before         work-up, water phase after extraction, precipitate on anode, and         organic phase. In addition HPLC is performed.     -   The HPLC show about 6 major products and the reactant. Vanillin         could be clearly identified at a retention time of 12.394 min.         The mandelic acid derivative is present at about 3.635 min. It         seems that also dimer and trimer of vanillin is present. There         are several unknown peaks which could be side products where the         methoxy group at the aromatic ring is substituted by hydroxy         group due to the acidic pH in the solution. Vanillic acid was         not observed. Conversion was about 37% with a vanillin         selectivity of 45%.

Example 3

Electrochemical decarboxylation of 4-hydroxy-3-methoxy mandelic acid with iron sulfate

-   -   A 50 ml H-cell with a nafion cation exchange membrane is used as         reactor. After the membrane is placed between the cells, water         is filled in both sides in order to check the sealing. The anode         side is equipped with a Pt mesh as working electrode: diameter=1         cm, height=2 cm. Surface area=6.3 cm². The cathode side uses a         200 ppi Cu mesh as counter electrode. It is bent into         cylindrical shape: length=5 cm, height=2 cm, surface area=10         cm². The system is not stirred and no reference electrode is         used.     -   FeSO₄ (0.8361 g, 0.1 M) and mandelic acid derivative (1.7839 g,         0.3 M) is dissolved in 20 ml water and 10 ml 1M H₂SO₄ and         transferred into the anode chamber. The pH resulted in about 0.         The cathode solution consists of 0.1 M FeSO₄ (0.8356g) solution         in 10m ml 1M H₂SO₄ and 20 ml water.     -   For 144 h current with a current density of 10 mA/cm² is applied         at the anode.     -   Work-up: the anode solution is 5 times extracted with 20 ml         dichloromethane, dried over NaSO₄ and decanted. CH₂Cl₂ is         removed in vacuum.     -   Following samples are taken for NMR: reaction solution before         work-up, water phase after extraction, precipitate on anode, and         organic phase.     -   After 2.5 h 15% of mandelic acid was converted. Next to several         unknown side products vanillin and dihydroxy benzaldehyde was         formed with selectivities of 17% and 16% respectively 

1. An electrochemical method for converting a compound of formula (I) to a compound of formula (II) in the presence of a solvent and a compound generating a mediator in reduced form in the solvent,

wherein: M^(P+) is a cation selected from group consisting of H⁺, NH₄ ⁺ and metal cation; p is the valence of M; R¹, R², R³ and R⁴, independently from each other, are selected from the group consisting of: a hydrogen atom, an alkyl group, an alkoxy group, a hydroxyl group, a halogen atom, a haloalkyl group and a perhaloalkyl group; R⁵ represents a hydrogen atom, an alkyl group, a cycloalkyl group, an aryl group or an aralkyl group.
 2. The method according to claim 1, wherein R¹ or R³ is an alkoxy group.
 3. The method according to claim 2, wherein R¹ or R³ is selected from the group consisting of methoxy, ethoxy, propoxy and butoxy and R² or R⁴ is a hydrogen atom.
 4. The method according to claim 1, wherein R⁵ is a hydrogen atom or an alkyl group.
 5. The method according to claim 1, wherein the compound of formula (I) is 4-hydroxy-3-methoxy mandelic acid or 4-hydroxy-3-ethoxy mandelic acid.
 6. The method according to claim 1, wherein the compound generating a mediator in reduced form in the solvent is selected from the group consisting of alkali metal bromides, alkali metal chlorides, alkali metal iodides, ammonium bromide, iron salts, cerium salts, manganese salts, copper salts, cobalt salts and chromium salts.
 7. An electrochemical method for converting a compound of formula (I) as defined in claim 1 to a compound of formula (II) as defined in claim 1 comprising following steps: (i) dissolving a compound generating a mediator in reduced form in a solvent to obtain a solution; (ii) adding the solution obtained at step(i) to an electrochemical reactor; (iii) passing current to the electrochemical reactor to oxidize the mediator in reduced form to a mediator in oxidized form; (iv) contacting the compound of formula (I) with the mediator in oxidized form obtained at step (iii) to produce the compound of formula (II).
 8. The method according to claim 7, wherein in step(i), the concentration of the compound generating a mediator in reduced form in the solution is in the range of 0.05 M to 2 M.
 9. The method according to claim 7, wherein in step(iii) and (iv), the reaction temperature is from 0° C. to 100° C..
 10. The method according to claim 7, wherein the molar ratio of the compound of formula (I) in step(iv) to the compound generating a mediator in reduced form in step(i) is equal to or higher than
 1. 11. An electrochemical method for converting a compound of formula (I) as defined in claim 1 to a compound of formula (II) as defined in claim 1 in an electrochemical reactor comprising both an anode and a cathode, this method comprising the following steps: a) dissolving the compound of formula (I) and a compound generating a mediator in reduced form in a solvent to obtain Solution A; b) dissolving a compound generating a mediator in reduced form in a solvent to obtain Solution B; c) adding Solution A to the compartment having the anode and Solution B to the compartment having the cathode; d) passing current to the reactor to produce the compound of formula (II).
 12. The method according to claim 11, wherein in step a), the molar ratio of the compound of formula (I) to the compound generating a mediator in reduced form is equal to or higher than
 1. 13. The method according to claim 11, wherein the concentration of the compound generating a mediator in reduced form in Solution A of step a) or in Solution B of step b) is in the range of 0.01 M to 1 M.
 14. The method according to claim 11, wherein in step a), the concentration of the compound of formula (I) in Solution A is in the range of 0.1 M to 1 M.
 15. The method according to claim 11, wherein in step d), the reaction temperature is from 0° C. to 100° C..
 16. The method according to claim 8, wherein in step(i), the concentration of the compound generating a mediator in reduced form in the solution is in the range of 0.1 M to 0.5 M.
 17. The method according to claim 9, wherein in step(iii) and (iv), the reaction temperature is from 10° C. to 30° C.
 18. The method according to claim 10, wherein the molar ratio of the compound of formula (I) in step(iv) to the compound generating a mediator in reduced form in step(i) is from 1.5 to 5.0. 